import year from "./year";
const tabRoutes = [
  ...year,
  {
    path: "/",
    name: "Index",
    component: () => import("@/views/index/index"),
    meta: {
      title: "我的考核",
      requireAuth: false,
      index: 0
    }
  },
  {
    path: "/normal",
    name: "Normal",
    component: () => import("@/views/normal/index"),
    meta: {
      title: "平时考核",
      requireAuth: false,
      index: 1
    }
  },
  {
    path: "/normal/report",
    name: "NormalReport",
    component: () => import("@/views/normal/report/report"),
    meta: {
      title: "工作记实",
      requireAuth: false,
      index: 2
    }
  },
  {
    path: "/normal/report/detail",
    name: "NormalReportDetail",
    component: () => import("@/views/normal/report/report-detail"),
    meta: {
      title: "记实详情",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/normal/achievement-detail",
    name: "NormalAchievementDetail",
    component: () => import("@/views/normal/report/achievement-detail"),
    meta: {
      title: "业绩晾晒详情",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/normal/addWeek",
    name: "NormalAddWeek",
    component: () => import("@/views/normal/report/addWeek"),
    meta: {
      title: "周记实",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/normal/addMonth",
    name: "NormaladdMonth",
    component: () => import("@/views/normal/report/addMonth"),
    meta: {
      title: "月记实",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/normal/appraisalPeriod",
    name: "NormalAppraisalPeriod",
    component: () => import("@/views/normal/appraisalPeriod/index"),
    meta: {
      title: "周期评议",
      requireAuth: false,
      index: 2
    }
  },
  {
    path: "/normal/appraisalPeriod/list",
    name: "NormalAppraisalPeriodList",
    component: () => import("@/views/normal/appraisalPeriod/list"),
    meta: {
      title: "周期评议",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/appraisalResults",
    name: "NormalAppraisalResults",
    component: () => import("@/views/appraisalResults/index"),
    meta: {
      title: "考核结果",
      requireAuth: false,
      index: 2
    }
  },
  {
    path: "/appraisalResults/publicDetail",
    name: "NormalAppraisalResultsPublicDetail",
    component: () => import("@/views/appraisalResults/publicDetail"),
    meta: {
      title: "结果公示详情",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/appraisalResults/detail",
    name: "NormalAppraisalResultsResultDetail",
    component: () => import("@/views/appraisalResults/detail"),
    meta: {
      title: "考核结果详情",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/appraisalResults/feedback",
    name: "NormalAppraisalResultsFeedback",
    component: () => import("@/views/appraisalResults/feedback"),
    meta: {
      title: "查看反馈结果",
      requireAuth: false,
      index: 4
    }
  },
  {
    path: "/appraisalResults/feedbackAdd",
    name: "NormalAppraisalResultsFeeedbackAdd",
    component: () => import("@/views/appraisalResults/feedbackAdd"),
    meta: {
      title: "结果异议反馈",
      requireAuth: false,
      index: 4
    }
  },
  {
    path: "/regulation",
    name: "Regulation",
    component: () => import("@/views/regulation/index"),
    meta: {
      title: "考核制度",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/appraisalProcess",
    name: "AppraisalProcess",
    component: () => import("@/views/appraisalProcess/index"),
    meta: {
      title: "审核评鉴",
      requireAuth: false,
      index: 2
    }
  },
  {
    path: "/appraisalProcess/list",
    name: "AppraisalProcessList",
    component: () => import("@/views/appraisalProcess/list"),
    meta: {
      title: "审核评鉴",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/appraisalProcess/detail",
    name: "AppraisalProcessDetail",
    component: () => import("@/views/appraisalProcess/detail"),
    meta: {
      title: "建议等次",
      requireAuth: false,
      index: 4
    }
  },
  {
    path: "/appraisalProcess/reportDetail",
    name: "AppraisalProcessReportDetail",
    component: () => import("@/views/appraisalProcess/reportDetail"),
    meta: {
      title: "工作记实",
      requireAuth: false,
      index: 5
    }
  },
  {
    path: "/appraisalProcess/grade",
    name: "AppraisalProcessGrade",
    component: () => import("@/views/appraisalProcess/grade"),
    meta: {
      title: "建议等次",
      requireAuth: false,
      index: 5
    }
  },
  {
    path: "/objectionHandle",
    name: "NormalObjectionHandle",
    component: () => import("@/views/objectionHandle/index"),
    meta: {
      title: "异议结果处理",
      requireAuth: false,
      index: 2
    }
  },
  {
    path: "/objectionHandle/detail",
    name: "NormalObjectionHandleDetail",
    component: () => import("@/views/objectionHandle/detail"),
    meta: {
      title: "考核结果详情",
      requireAuth: false,
      index: 3
    }
  },
  {
    path: "/objectionHandle/reply",
    name: "NormalObjectionHandleReply",
    component: () => import("@/views/objectionHandle/reply"),
    meta: {
      title: "结果异议回复",
      requireAuth: false,
      index: 4
    }
  },
  {
    path: "/objectionHandle/resultDetail",
    name: "NormalObjectionHandleResultDetail",
    component: () => import("@/views/objectionHandle/resultDetail"),
    meta: {
      title: "结果异议回复",
      requireAuth: false,
      index: 4
    }
  }
];

export default tabRoutes;
